package com.sitech.ibnms.util;

public class ServiceException extends Exception{
	
	private Exception exception;
	private String message;	
	private String errorDesc;
	private String errorName;
	
	public ServiceException(String errorDesc) {		
		this.exception = new Exception();
		this.errorDesc = errorDesc;
	}
	

	public ServiceException(String errorDesc, Exception exception) {
		this.errorDesc = errorDesc;
		this.exception = exception;
	}


	public String getMessage() {
		return message;
	}


	public void setMessage(String message) {
		this.message = message;
	}


	

	public String getErrorDesc() {
		return errorDesc;
	}


	public void setErrorDesc(String errorDesc) {
		this.errorDesc = errorDesc;
	}


	public String getErrorName() {
		return errorName;
	}


	public void setErrorName(String errorName) {
		this.errorName = errorName;
	}
	
    
}
